{% from 'bootstrap4/utils.html' import render_messages %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="{{ url_for('static', filename='Classic.ico') }}" type="image/x-icon" >

    <title>{% block title %} {% endblock %}</title>
    {{ bootstrap.load_css() }}
    
</head>
<body>
    
    {% block nav %}
    <nav class="navbar navbar-expand-sm bg-warning navbar-dark">
        <a class="navbar-brand" href="#">
            <img src="https://static.runoob.com/images/mix/bird.jpg" alt="logo" style="width:40px;">
            Python博客
        </a>
        <ul class="navbar-nav">
          <li class="nav-item active">
            <a class="nav-link" href="#">Active</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#">Link</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#">Link</a>
          </li>
          <li class="nav-item">
            <a class="nav-link disabled" href="#">Disabled</a>
          </li>
        </ul>
      </nav>
    {% endblock %}

    {{ render_messages(container=False, dismissible=True) }}

    {% block content %}
     <div class="container">
         {% block page_content %}{% endblock %}
     </div>
    {% endblock %}  

    {{ bootstrap.load_js() }}
    
</body>
{% block scripts %}


{{  moment.include_moment() }}
{{ moment.locale('zh-cn') }}
{% endblock %}
</html>